package com.ifast.asset.domain;

import lombok.Data;

@Data
public class AssetsLabel extends  Assets{

    int[] labels;

    public Assets getAssets(){

        Assets assets = new Assets();
        assets.setId(super.getId());
        assets.setIp(super.getIp());
        assets.setLabel(super.getLabel());
        assets.setMac(super.getMac());
        assets.setAssetsName(super.getAssetsName());
        assets.setAssetsType(super.getAssetsType());
        assets.setModel(super.getModel());
        assets.setOs(super.getOs());
        assets.setPort(super.getPort());
        assets.setProvide(super.getProvide());
        assets.setRisk(super.getRisk());
        assets.setDepartment(super.getDepartment());
        assets.setMaintain(super.getMaintain());
        assets.setLevel(super.getLevel());
        assets.setTime(super.getTime());
        assets.setSource(super.getSource());
        assets.setUsername(super.getUsername());
        assets.setPassword(super.getPassword());
        return assets;
    }

    public int[] getLabels(){

        return labels;
    }
}

